80362: All tests

Documentation

Owners

Name Affiliation Email Start End
Herm Fischer Mark V Systems fischer@markv.com 01-08-2020 at 12:00:00
Paul Hulst De Nederlandsche Bank P.J.Hulst@dnb.nl 01-08-2020 at 12:00:00

Test Case Variations


V-01 Instance with positive and negative filing indicators

Documentation

Tests that the function works with an instance both positive and negative filing indicators. Both filing indicators with a filed attribute and without it.

Inputs

  • schema: taxonomy-fi.xsd
  • instance: instance-fi.xml (DTS Discovery starting point) (ID=V01)
  • Function Call: xfi:positive-filing-indicator("Template 1")

    (against file V01)

Outputs

  • Result test: count( $result ) eq 1 and $result eq true()

V-02 Instance with positive and negative filing indicators

Documentation

Tests that the function works with an instance both positive and negative filing indicators. Both filing indicators with a filed attribute and without it.

Inputs

  • schema: taxonomy-fi.xsd
  • instance: instance-fi.xml (DTS Discovery starting point) (ID=V02)
  • Function Call: xfi:positive-filing-indicator("Template 2")

    (against file V02)

Outputs

  • Result test: count( $result ) eq 1 and $result eq true()

V-03 Instance with positive and negative filing indicators

Documentation

Tests that the function works with an instance both positive and negative filing indicators. Both filing indicators with a filed attribute and without it.

Inputs

  • schema: taxonomy-fi.xsd
  • instance: instance-fi.xml (DTS Discovery starting point) (ID=V03)
  • Function Call: xfi:positive-filing-indicator("Template 3")

    (against file V03)

Outputs

  • Result test: count( $result ) eq 1 and $result eq false()

V-04 Instance with positive and negative filing indicators

Documentation

Tests that the function works with an instance both positive and negative filing indicators. Both filing indicators with a filed attribute and without it.

Inputs

  • schema: taxonomy-fi.xsd
  • instance: instance-fi.xml (DTS Discovery starting point) (ID=V04)
  • Function Call: xfi:positive-filing-indicator("Template 4")

    (against file V04)

Outputs

  • Result test: count( $result ) eq 1 and $result eq false()

V-05 Instance without filing indicators

Documentation

Tests that the function works with an instance that doesn’t contain any filing indicators.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-empty.xml (DTS Discovery starting point) (ID=V05)
  • Function Call: xfi:positive-filing-indicator("Template 1")

    (against file V05)

Outputs

  • Result test: $result eq false()

V-06 Instance without filing indicators

Documentation

Tests that the function works with an instance that doesn’t contain any filing indicators.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-empty.xml (DTS Discovery starting point) (ID=V06)
  • Function Call: xfi:positive-filing-indicator("Template 2")

    (against file V06)

Outputs

  • Result test: $result eq false()

V-07 Instance without filing indicators

Documentation

Tests that the function works with an instance that doesn’t contain any filing indicators.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-empty.xml (DTS Discovery starting point) (ID=V07)
  • Function Call: xfi:positive-filing-indicator("Template 3")

    (against file V07)

Outputs

  • Result test: $result eq false()

V-08 Instance without filing indicators

Documentation

Tests that the function works with an instance that doesn’t contain any filing indicators.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-empty.xml (DTS Discovery starting point) (ID=V08)
  • Function Call: xfi:positive-filing-indicator("Template 4")

    (against file V08)

Outputs

  • Result test: $result eq false()

V-11 Instance based on filing indicator taxonomy

Documentation

Tests that the function works with an instance both positive and negative filing indicators, that is based on specification for filing indicators (PWD).

Inputs

Outputs

  • Result test: count( $result ) eq 1 and $result eq true()

V-12 Instance based on filing indicator taxonomy

Documentation

Tests that the function works with an instance both positive and negative filing indicators, that is based on specification for filing indicators (PWD).

Inputs

Outputs

  • Result test: count( $result ) eq 1 and $result eq true()

V-13 Instance based on filing indicator taxonomy

Documentation

Tests that the function works with an instance both positive and negative filing indicators, that is based on specification for filing indicators (PWD).

Inputs

Outputs

  • Result test: count( $result ) eq 1 and $result eq false()

V-14 Instance based on filing indicator taxonomy

Documentation

Tests that the function works with an instance both positive and negative filing indicators, that is based on specification for filing indicators (PWD).

Inputs

Outputs

  • Result test: count( $result ) eq 1 and $result eq false()

Revisions

Name On Details
Herm Fischer 01-08-2020 at 12:00:00 Created the test case.
Paul Hulst 07-09-2020 at 12:00:00 Added test case using the specification for filing indicators (PWD).